kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:59:27 +0000 (11:59 +0100)]
Rename XENFEAT_ring0_kernel to slightly more generic XENFEAT_supervisor_mode_kernel.
Add comments in public header version.h to explain what all the different
feature flags mean. Add a new flag XENFEAT_pae_pgdir_above_4gb to inform the guest
that its PAE page directories do not need to conform to the usual hardware
restriction.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:42:19 +0000 (11:42 +0100)]
Silenty ignore calls to xen_create_contiguous_region() when running
in auto_translated_physmap mode. A new comment in that function explains
why this is an okay thing to do.
This avoids an unnecessary crash in Xen's skbuff_ctor.
Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:34:11 +0000 (11:34 +0100)]
Clean up some vmx code.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:31:01 +0000 (11:31 +0100)]
Whenever the slice of a domU is set to 0, sedf_adjdom() sets extraweight
to 0. Later, in desched_extra_dom(), if the extrawight is not set, the
vcpu's score is calculated with this:
/*domain was running in L1 extraq => score is inverse of
utilization and is used somewhat incremental!*/
if ( !inf->extraweight )
/*NB: use fixed point arithmetic with 10 bits*/
inf->score[EXTRA_UTIL_Q] = (inf->period << 10) /
inf->slice;
Which can result in a divide by zero.
This changeset adds a comments and additional sanity check to prevent this
case from crashing Xen.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:27:35 +0000 (11:27 +0100)]
Update the hypercalls in Mini-OS to reflect the current state in XenLinux.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:24:37 +0000 (11:24 +0100)]
Per-vcpu IO evtchn support for VT-i guests (ia64).
Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:22:25 +0000 (11:22 +0100)]
Per-vcpu IO evtchn patch for HVM domain.
We are starting to send patches to support SMP VMX guest.
Signed-off-by: Xin Li <xin.b.li@intel.com>
emellor@leeni.uk.xensource.com [Wed, 22 Feb 2006 20:52:30 +0000 (21:52 +0100)]
Adding a second IP address onto eth0 causes the vif-* hotplug scripts to
fail: ip_of() is returning a LIST of IP addresses, one per line.
The vif-scripts attempt to use the list where single addresses ought to
be, with predictable results. This patch changes ip_of() to return
the first address in the list, which seems to be the first one configured.
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 19:11:23 +0000 (19:11 +0000)]
Add feature flag allowing guest kernel to run in domain 0.
To support this we give kernel GDT entries DPL=0 and use kernel
segment selectors with RPL=0. Xen will crunch these to ring 1 when
they are passed in. When a segment selector is used directly or placed
in a stack frame the guest OS is reponsible for crunching the RPL.
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 18:40:19 +0000 (19:40 +0100)]
Cset 8916 missed two extra pages for VT-i domain and thus breaks domain
creation. This fixes it.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 18:38:50 +0000 (19:38 +0100)]
Fix gcc warning and clean a piece of code in arch_set_info_guest to avoid
AP of HVM domain going to a wrong code path.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 18:23:35 +0000 (19:23 +0100)]
Change shadow_direct_map_init/clean param from vcpu to domain.
Also some cleanups.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 17:26:39 +0000 (17:26 +0000)]
Fix x86_64 Xen build.
event_callback_cs and failsafe_callback_cs are x86_32 only.
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 15:50:28 +0000 (15:50 +0000)]
Don't reload segment registers -- it's done later in generic code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 15:17:04 +0000 (15:17 +0000)]
Move lgdt_finish inline
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 15:16:44 +0000 (15:16 +0000)]
List supported feature flags in __xen_guest section.
Signed-off-bu: Ian Campbell <Ian.Campbell@XenSource.com>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 15:13:48 +0000 (15:13 +0000)]
Validate the segment selectors passed to arch_set_info_guest().
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
Ian.Campbell@xensource.com [Wed, 22 Feb 2006 15:13:08 +0000 (15:13 +0000)]
Allow Xen to truncate x86_32 segment limits to the correct value
rather than hardcoding them in each guest kernel.
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
pl@us.ibm.com [Wed, 22 Feb 2006 15:02:54 +0000 (16:02 +0100)]
XM-Test takes a really long time to build the initrd it uses for testing. This patch to the Makefile allows you to specify INITRD="url" when running make existing to make it download a prebuilt copy of the initrd from a repository.
Signed-off-by: Paul Larson <pl@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 08:54:20 +0000 (09:54 +0100)]
When thermal interrupt happened when vmx guest is running,
smp_thermal_interrupt() should be called.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 22 Feb 2006 08:53:54 +0000 (09:53 +0100)]
Fix HVM x86-32 PAE guest support on 64-bit Xen.
Signed-off-by: Xiaohui Xin < xiaohui.xin@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 18:36:00 +0000 (19:36 +0100)]
Fix SVM instruction decode, fixing problem with gfxboot package.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 18:35:34 +0000 (19:35 +0100)]
Fix 64b build breakage.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 18:32:15 +0000 (19:32 +0100)]
inst_len in HVM mmio handler must be a signed variable, as
it may hold an error return value (from hvm_instruction_length).
Signed-off-by: Tom Woller <thomas.woller@amd.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:29:28 +0000 (18:29 +0100)]
Define constants for XENVER char array sizes. Allows Linux
users to avoid using the typedefs directly.
Signed-off-by: Mike Day <ncmike@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:23:35 +0000 (18:23 +0100)]
Cleanups to tools since HVM domain P2M table and 1-1 table are built in xen.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:21:13 +0000 (18:21 +0100)]
Fix cleanup path if an HVM guest fails very early, before direct map is built.
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:19:16 +0000 (18:19 +0100)]
No need for save_segments() on HVM 64b guest.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:15:49 +0000 (18:15 +0100)]
Add PAE option to HVM config file.
This option is disabled by default, only if we have "pae=1" in config
file, cpuid will return PAE available to VMX guest, and Linux PAE VMX
guest need this. Once the PAE VMX guest support is stable, we will
enable it by default.
Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
cl349@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 17:13:30 +0000 (17:13 +0000)]
tpm: Fixes and cleanup
Fix a recently found problem in tpm.c, move the vtpm sysfs
entry to /sys/device/platform/tpm_vtpm and add locking in
the vtpm hotplug script.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
cl349@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 16:25:56 +0000 (16:25 +0000)]
Update ia64 sparse tree to Linux 2.6.16-rc4.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
cl349@firebug.cl.cam.ac.uk [Tue, 21 Feb 2006 11:19:13 +0000 (11:19 +0000)]
Update to Linux 2.6.16-rc4.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : patches/linux-2.6.16-rc3/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc4/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc3/net-csum.patch => patches/linux-2.6.16-rc4/net-csum.patch
rename : patches/linux-2.6.16-rc3/pmd-shared.patch => patches/linux-2.6.16-rc4/pmd-shared.patch
rename : patches/linux-2.6.16-rc3/smp-alts.patch => patches/linux-2.6.16-rc4/smp-alts.patch
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 23:01:50 +0000 (23:01 +0000)]
linux-i386: Fix CONFIG_X86_NO_TSS and CONFIG_X86_SYSENTER.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 20:26:24 +0000 (20:26 +0000)]
linux-i386: Cleanup stack pointer initialization at start of day.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 18:03:56 +0000 (18:03 +0000)]
Suppress VIDEO_SELECT config option.
The Xen guest doesn't know how to change video modes at boot.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 18:02:55 +0000 (18:02 +0000)]
Add drivers/video/Kconfig to sparse tree.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 17:59:41 +0000 (17:59 +0000)]
Fix I/O port address for first floppy controller on x86_64.
As a consequence, some of the i386 changes over native code need to also be
added to x86-64.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 17:34:21 +0000 (17:34 +0000)]
Fix read_cr3() and use it.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 17:32:29 +0000 (17:32 +0000)]
Eliminate x86_64 idt_table.
Add CONFIG_X86_NO_IDT to exclude all code which references the idt table.
Also fix the non-Xen cpu_gdt_init() handling.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 17:22:00 +0000 (17:22 +0000)]
Eliminate i386 idt_table.
Add CONFIG_X86_NO_IDT to exclude all code which references the idt table.
Make CONFIG_X86_F00F_BUG conditional on CONFIG_X86_NO_IDT.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 17:15:14 +0000 (17:15 +0000)]
Add arch/i386/Kconfig.cpu to sparse tree.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
vhanquez@kneesa.uk.xensource.com [Mon, 20 Feb 2006 17:14:19 +0000 (17:14 +0000)]
do not BUG() if memory cannot be allocated, just wait.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vhanquez@kneesa.uk.xensource.com [Mon, 20 Feb 2006 17:06:36 +0000 (17:06 +0000)]
alloc_netdev must be freed with free_netdev, not directly by kfree.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 16:49:35 +0000 (16:49 +0000)]
Simplify utoa macro, make it identical with x86_64 version.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 16:42:54 +0000 (16:42 +0000)]
Eliminate hard coded items from x86_64 __xen_guest section
to avoid problems when the position of the hypercall page changes.
Further, clean up many things to avoid needless differences to native
code, while also adding a couple of adjustments that only will be
submitted for native code inclusion, that simplify code, or that
remove unused elements.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 16:08:27 +0000 (16:08 +0000)]
Eliminate hard coded items from i386 __xen_guest section
to allow the new VMSPLIT_* Kconfig options to work, and to
avoid problems when the position of the hypercall page
changes.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 15:18:38 +0000 (15:18 +0000)]
Fix loading binary kernel images.
Starting a domain with a binary kernel image fails due to an uninitialized
field. This patch fixes that problem.
The Novell NetWare port to Xen 3.0 currently uses the binary image loader.
Signed-off-by: Bruce Rogers <brogers@novell.com>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 15:15:10 +0000 (15:15 +0000)]
Eliminate tss - tss is meaningless in a paravirtualized kernel
and consumes 25% of the per-cpu area.
Add CONFIG_X86_NO_TSS to exclude all code which references tss.
Based on a patch by Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 14:51:50 +0000 (14:51 +0000)]
Add arch/x86_64/kernel/{asm-offsets,init_task}.c to sparse tree.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 14:46:14 +0000 (14:46 +0000)]
Eliminate tss - tss is meaningless in a paravirtualized kernel
and consumes 25% of the per-cpu area.
Add CONFIG_X86_NO_TSS to exclude all code which references tss.
Add CONFIG_X86_SYSENTER to conditionally include support for sysenter.
Change CONFIG_DOUBLEFAULT to depend on !CONFIG_X86_NO_TSS.
(sysenter and doublefault need tss).
Based on a patch by Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 14:37:13 +0000 (14:37 +0000)]
Add arch/i386/kernel/{asm-offsets.c,sysenter.c,vm86.c,vsyscall.S} to sparse tree.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
vhanquez@kneesa.uk.xensource.com [Mon, 20 Feb 2006 14:08:39 +0000 (14:08 +0000)]
missing "is not set" string in one config option.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vhanquez@kneesa.uk.xensource.com [Mon, 20 Feb 2006 13:13:14 +0000 (13:13 +0000)]
Set default HZ to 100.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 11:38:23 +0000 (11:38 +0000)]
Allow CPU frequency option on x86_64 for privileged guests.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 11:20:42 +0000 (11:20 +0000)]
Don't define ARCH_APICTIMER_STOPS_ON_C3.
Protect the calls to the switch_APIC_timer_to_ipi and
switch_ipi_to_APIC_timer functions since we don't implement
smp_send_timer_broadcast_ipi().
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Mon, 20 Feb 2006 10:26:39 +0000 (10:26 +0000)]
Add include/asm-{i386,x86_64}/apic.h to sparse tree.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Sun, 19 Feb 2006 08:06:44 +0000 (09:06 +0100)]
Fix get_mfn_from_gpfn_foreign for HVM guests.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 10:56:51 +0000 (11:56 +0100)]
Missing file from previous changeset.
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 10:56:13 +0000 (11:56 +0100)]
Enable x86_32 PAE unmodified guests on 64-bit Xen when the hvm feature
is present. We tested only Linux at this point, and we'll improve the
functionality as we test other guests.
The SVM needs the equivalent changes to the vmc.c to get this
functionality working, but this patch does not break the build.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 10:41:42 +0000 (11:41 +0100)]
Include an extra header file in xenbus.h. Fixes ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 00:05:05 +0000 (01:05 +0100)]
Fix debug build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 00:02:19 +0000 (01:02 +0100)]
Svm patch to remove unneeded update_pagetables().
Signed-off-by: Tom Woller <thomas.woller@amd.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 00:01:52 +0000 (01:01 +0100)]
Svm patch to fix asid logic on multicore.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 18 Feb 2006 00:01:31 +0000 (01:01 +0100)]
Svm patch to cleanup the injection logic and consolidate into one function.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
emellor@leeni.uk.xensource.com [Fri, 17 Feb 2006 22:00:05 +0000 (23:00 +0100)]
Attached patch updates the xm man page for the listing of
block/network/vtpm devices.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 20:26:49 +0000 (21:26 +0100)]
Remove obsolete ccache patch from xm-test buildroot.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 20:25:53 +0000 (21:25 +0100)]
Fix buildroot problems and bring the buildroot image up
to
15feb06, update to Makefile.am. The original gcc-mirror patch is
removed and the buildroot configuration updated.
Signed-off-by: Woody Marvel <marvel@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 19:41:30 +0000 (20:41 +0100)]
Disable C1 clock ramping on AMD 8th gen CPUs.
This reverts a previous changeset that removed this code.
It is currently required for good TSC behaviour in SVM
(fully virtualised) guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
emellor@leeni.uk.xensource.com [Fri, 17 Feb 2006 18:35:38 +0000 (19:35 +0100)]
This patch displays the network-list/block-list/vtpm-list using the 'xm'
command. It supports the '--long' option.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 17:22:23 +0000 (18:22 +0100)]
Fix 64b build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 15:29:24 +0000 (16:29 +0100)]
Fix HVM MSR save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
cl349@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 11:49:11 +0000 (11:49 +0000)]
Fix Read/Write CR3 emulation.
- on write, new_guest_cr3() takes an mfn not an ma
- for shadow_translate guests, apply mfn_to_gmfn/gmfn_to_mfn
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Fri, 17 Feb 2006 11:28:35 +0000 (12:28 +0100)]
Fix a VMX FPU bug introduced in changeset 8834.
From: Edwin Zhai
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 23:24:47 +0000 (23:24 +0000)]
Update the ia64 linux-2.6-xen-sparse tree to 2.6.16-rc3.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 23:07:11 +0000 (00:07 +0100)]
Update defconfigs for PCI front/back driver config options.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 22:47:58 +0000 (23:47 +0100)]
Update documentation to describe new PCI front/back drivers.
Update the documentation to include the syntax of "hiding" a PCI
device from domain 0 and for specifying the assignment of a PCI device
to a driver domain. It also includes a brief section exploring some of
the security concerns that driver domains address and mentioning some
of those that remain.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 22:46:51 +0000 (23:46 +0100)]
Tools changes for PCI front/back drivers.
Replace the old pciif DevController class with a new one that
configures the PCI backend. A util class detects the resource usage of
the specified PCI devices and pciif interacts with Xen to permit a
driver domain to directly access those physical I/O resources.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 22:44:41 +0000 (23:44 +0100)]
PCI backend and frontend drivers for i386 and x86_64.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 22:37:40 +0000 (23:37 +0100)]
Provide a simpler, higher-level interface for mapping in pages from another domain.
I also added a one-liner that causes xenbus_dev_(error|fatal) to output
to the kernel log buffer (and thus syslog) which was invaluable to me
while debugging (by default, error messages only appear in xenstore).
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 22:00:00 +0000 (23:00 +0100)]
Fix bugs related to the virtual TPM. Also make the vTPM
manager listen on /dev/vtpm.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 21:57:29 +0000 (22:57 +0100)]
Fix a dead download url for ccache when building the xm-test ramdisk.
From: Adam Wendt <adam@ipcoast.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 21:39:55 +0000 (22:39 +0100)]
VTPM Tools: Fix threading bug in vtpm_manager while using NPTL. Now
supports Linux Threads and NPTL threads. Also clean up vtpm Makefile.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 21:33:46 +0000 (22:33 +0100)]
Fix Xen builds with perfc=y and perfc_arrays=y.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Thomas <ben@virtualiron.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 21:25:54 +0000 (22:25 +0100)]
Sync Xen's mpspec.h with Linux 2.6.16-rc2 codebase.
Fixes building with gcc 4.1-pre, pointed out by Chris Wright.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 18:04:33 +0000 (19:04 +0100)]
Re-enable VGA acceleration under the new phys_to_machine_mapping.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 17:52:06 +0000 (18:52 +0100)]
New memory_op subcall XENMEM_translate_gpfn_list.
Allows translation from GPFNs to MFNs for an auto-translated
guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 16:37:21 +0000 (17:37 +0100)]
Upgrade mpparse.c to linux-2.6.16-rc2 codebase.
Signed-off-by: Keir Fraser <keir@xensource.com>
vhanquez@kneesa.uk.xensource.com [Thu, 16 Feb 2006 16:19:38 +0000 (16:19 +0000)]
When xc_linux_build fails without a meaninful errno, force errno to EINVAL
avoid message "Error creating domain: (0, 'Error')" in the case
domU version is too old or too new.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 15:46:21 +0000 (16:46 +0100)]
Fix problems with direct-mapping handling especially when
VMX assist is used for real mode and protected mode.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 15:35:09 +0000 (16:35 +0100)]
Add back code to zero the 'saved eflags' value on vmx vmexit.
vmx mode is unstable without this -- the root cause needs to
be investigated.
From: Jun Nakajima
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 15:31:52 +0000 (16:31 +0100)]
Clean up swiotlb_init() decls.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 15:31:22 +0000 (16:31 +0100)]
Upgrade smpboot.c to linux-2.6.16-rc2 codebase.
Signed-off-by: Keir Fraser <keir@xensource.com>
vhanquez@kneesa.uk.xensource.com [Thu, 16 Feb 2006 14:26:02 +0000 (14:26 +0000)]
Fix Makefile problem when "gcc -v" includes a '/'
and convert | to / to avoid the same problem with '|'.
Original patch from Jos Vos, modified to prevent a '|' problem.
From: Jos Vos <jos@xos.nl>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
cl349@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 14:10:01 +0000 (14:10 +0000)]
Fix upgrade omissions.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 11:30:44 +0000 (11:30 +0000)]
Check for the entire kernel range for temporarily cleared PMD entries.
From: Jan Beulich <JBeulich@novell.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Thu, 16 Feb 2006 11:25:36 +0000 (11:25 +0000)]
Fix prototype mismatch.
Should fix e1000/tg3 hang and cciss problems.
From: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 15 Feb 2006 22:06:12 +0000 (22:06 +0000)]
Update to Linux 2.6.16-rc3.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : patches/linux-2.6.16-rc2/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc3/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc2/net-csum.patch => patches/linux-2.6.16-rc3/net-csum.patch
rename : patches/linux-2.6.16-rc2/pmd-shared.patch => patches/linux-2.6.16-rc3/pmd-shared.patch
rename : patches/linux-2.6.16-rc2/smp-alts.patch => patches/linux-2.6.16-rc3/smp-alts.patch
kaf24@firebug.cl.cam.ac.uk [Wed, 15 Feb 2006 14:20:32 +0000 (15:20 +0100)]
Clean up grant-table code and replace uses of get_user
and put_user in common code. This is an attempt to narrow
the uaccess API before it gets replaced.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 15 Feb 2006 14:13:10 +0000 (14:13 +0000)]
Cleanup x86/x86_64 apic.c files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 15 Feb 2006 11:21:12 +0000 (12:21 +0100)]
Fix x86/64 build for gcc-4.1-pre.
Signed-off-by: Keir Fraser <keir@xensource.com>